Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SF-3176 Add Upload Audio to Questions #2984

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

josephmyers
Copy link
Collaborator

@josephmyers josephmyers commented Jan 29, 2025

A good portion of this was restored from its last working state (last year), before we removed it, and updated. The file processing comes solely from the existence of the uploadAudioFile property. I also restored the old Firefox .ogg file workaround, though I didn't test that it's still required (yet).

The upload button must be enabled to be visible. This is controlled by a boolean Input on the control, and it's false for its usage within the answers.

Also accounting for the 'uploaded' state in text-and-audio, since beforehand it was only looking for the recorded 'processed' state.

image

The aesthetics come from what was selected in Balsamiq, but we can certainly adjust it, based on what the result actually looks like.


This change is Reviewable

A good portion of this was restored from its last working state (last year), before we removed it, and updated. The file processing comes solely from the existence of the uploadAudioFile property. I also restored the old Firefox .ogg file workaround, though I didn't test that it's still required (yet).

The upload button must be enabled to be visible. This is controlled by a boolean Input on the control, and it's false for its usage within the answers.

Also accounting for the 'uploaded' state in text-and-audio, since beforehand it was only looking for the recorded 'processed' state.
Copy link

codecov bot commented Jan 29, 2025

Codecov Report

Attention: Patch coverage is 88.23529% with 2 lines in your changes missing coverage. Please review.

Project coverage is 82.03%. Comparing base (fd6844f) to head (4375dc2).

Files with missing lines Patch % Lines
...pp/checking/attach-audio/attach-audio.component.ts 86.66% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2984      +/-   ##
==========================================
- Coverage   82.04%   82.03%   -0.01%     
==========================================
  Files         544      544              
  Lines       31697    31713      +16     
  Branches     5155     5149       -6     
==========================================
+ Hits        26005    26017      +12     
- Misses       4925     4928       +3     
- Partials      767      768       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@josephmyers josephmyers added the will require testing PR should not be merged until testers confirm testing is complete label Jan 29, 2025
@josephmyers josephmyers marked this pull request as ready for review January 30, 2025 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
will require testing PR should not be merged until testers confirm testing is complete
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant